package huang.jan07.co7;

public class People {
		private int height;
		private float standardWeight;
		public int getHeight() {
			return height;
		}
		public void setHeight(int height) {
			this.height = height;
		}
		
		 void standardWeight(){
			 standardWeight=(float) ((height-100)*0.9*2);
			 System.out.println("身高为"+height+"对应的标准体重为"+standardWeight+"市斤");
		}
}
